package secret.santa.client;


import secret.santa.client.SecretData;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("santa")
public interface SantaService extends RemoteService {
	Long login(String username, String password);
	Boolean login(long sid);
	CS_Event[] getEvents(Long sid);
	Boolean addEvent(Long sid, String name, String Description);
	Boolean addUser(Long sid, String name, String password, String fullName, String email);
	CS_User[] getUsers(Long sid);
	Boolean editUser(Long sid, String key, String username, String password, String fullName, String email);
	Boolean editEvent(Long sid, String key, String name, String desc);
	Boolean removeUser(Long sid, String key);
	Boolean removeEvent(Long sid, String key);
	EventQuery queryEvent(Long sid, String key);
	Boolean addUsersToEvent(Long sid, String[] userKeys, String eventKey);
	Boolean generateList(Long sid, String eventKey);
	Boolean makeCouple(Long sid, String name1, String name2);
	SecretData getSecretData(Long sid);
	Boolean editWishList(Long sid, String eventEntryKey, String wishList);
	Boolean removeUsers(Long sid, String[] keys);
}
